package com.zillion.employee.domain;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.zillion.common.core.domain.BaseEntity;

import java.util.Date;

/**
 * 从业人员预约信息类
 */
public class EmployeeReserve extends BaseEntity {
    private Long id;
    private String name;
    private String idCard;
    private String phone;
    private Integer reserveHospital;

    @JsonFormat(pattern = "yyyy-MM-dd")
    private Date reserveDate;
    private String reserveHour;

    private Integer isUnit;
    private String unitName;
    private String socialCreditCode;
    private Date createTime;

    private Integer qualify;
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date qualifyDate;

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getIdCard() {
        return idCard;
    }

    public void setIdCard(String idCard) {
        this.idCard = idCard;
    }

    public String getPhone() {
        return phone;
    }

    public void setPhone(String phone) {
        this.phone = phone;
    }

    public Integer getReserveHospital() {
        return reserveHospital;
    }

    public void setReserveHospital(Integer reserveHospital) {
        this.reserveHospital = reserveHospital;
    }

    public Date getReserveDate() {
        return reserveDate;
    }

    public void setReserveDate(Date reserveDate) {
        this.reserveDate = reserveDate;
    }

    public String getReserveHour() {
        return reserveHour;
    }

    public void setReserveHour(String reserveHour) {
        this.reserveHour = reserveHour;
    }

    public Integer getIsUnit() {
        return isUnit;
    }

    public void setIsUnit(Integer isUnit) {
        this.isUnit = isUnit;
    }

    public String getUnitName() {
        return unitName;
    }

    public void setUnitName(String unitName) {
        this.unitName = unitName;
    }

    public String getSocialCreditCode() {
        return socialCreditCode;
    }

    public void setSocialCreditCode(String socialCreditCode) {
        this.socialCreditCode = socialCreditCode;
    }

    @Override
    public Date getCreateTime() {
        return createTime;
    }

    @Override
    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public Integer getQualify() {
        return qualify;
    }

    public void setQualify(Integer qualify) {
        this.qualify = qualify;
    }

    public Date getQualifyDate() {
        return qualifyDate;
    }

    public void setQualifyDate(Date qualifyDate) {
        this.qualifyDate = qualifyDate;
    }

    @Override
    public String toString() {
        return "EmployeeReserve{" +
                "id=" + id +
                ", name='" + name + '\'' +
                ", idCard='" + idCard + '\'' +
                ", phone='" + phone + '\'' +
                ", reserveHospital=" + reserveHospital +
                ", reserveDate=" + reserveDate +
                ", reserveHour='" + reserveHour + '\'' +
                ", isUnit=" + isUnit +
                ", unitName='" + unitName + '\'' +
                ", socialCreditCode='" + socialCreditCode + '\'' +
                ", createTime=" + createTime +
                ", qualify=" + qualify +
                ", qualifyDate=" + qualifyDate +
                '}';
    }
}
